package com.so206.po;

import java.io.Serializable;

public class SystemConfig implements Serializable {
    private Long id;

    private String sitename;

    private String keywords;

    private String description;

    private String panel;

    private String copy;

    private String liuyan;

    private String kfqq;

    private String ym;

    private String gg;

    private String music;

    /**
    * user id
    */
    private Long uid;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSitename() {
        return sitename;
    }

    public void setSitename(String sitename) {
        this.sitename = sitename;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getPanel() {
        return panel;
    }

    public void setPanel(String panel) {
        this.panel = panel;
    }

    public String getCopy() {
        return copy;
    }

    public void setCopy(String copy) {
        this.copy = copy;
    }

    public String getLiuyan() {
        return liuyan;
    }

    public void setLiuyan(String liuyan) {
        this.liuyan = liuyan;
    }

    public String getKfqq() {
        return kfqq;
    }

    public void setKfqq(String kfqq) {
        this.kfqq = kfqq;
    }

    public String getYm() {
        return ym;
    }

    public void setYm(String ym) {
        this.ym = ym;
    }

    public String getGg() {
        return gg;
    }

    public void setGg(String gg) {
        this.gg = gg;
    }

    public String getMusic() {
        return music;
    }

    public void setMusic(String music) {
        this.music = music;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", sitename=").append(sitename);
        sb.append(", keywords=").append(keywords);
        sb.append(", description=").append(description);
        sb.append(", panel=").append(panel);
        sb.append(", copy=").append(copy);
        sb.append(", liuyan=").append(liuyan);
        sb.append(", kfqq=").append(kfqq);
        sb.append(", ym=").append(ym);
        sb.append(", gg=").append(gg);
        sb.append(", music=").append(music);
        sb.append(", uid=").append(uid);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SystemConfig other = (SystemConfig) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getSitename() == null ? other.getSitename() == null : this.getSitename().equals(other.getSitename()))
            && (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
            && (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
            && (this.getPanel() == null ? other.getPanel() == null : this.getPanel().equals(other.getPanel()))
            && (this.getCopy() == null ? other.getCopy() == null : this.getCopy().equals(other.getCopy()))
            && (this.getLiuyan() == null ? other.getLiuyan() == null : this.getLiuyan().equals(other.getLiuyan()))
            && (this.getKfqq() == null ? other.getKfqq() == null : this.getKfqq().equals(other.getKfqq()))
            && (this.getYm() == null ? other.getYm() == null : this.getYm().equals(other.getYm()))
            && (this.getGg() == null ? other.getGg() == null : this.getGg().equals(other.getGg()))
            && (this.getMusic() == null ? other.getMusic() == null : this.getMusic().equals(other.getMusic()))
            && (this.getUid() == null ? other.getUid() == null : this.getUid().equals(other.getUid()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getSitename() == null) ? 0 : getSitename().hashCode());
        result = prime * result + ((getKeywords() == null) ? 0 : getKeywords().hashCode());
        result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
        result = prime * result + ((getPanel() == null) ? 0 : getPanel().hashCode());
        result = prime * result + ((getCopy() == null) ? 0 : getCopy().hashCode());
        result = prime * result + ((getLiuyan() == null) ? 0 : getLiuyan().hashCode());
        result = prime * result + ((getKfqq() == null) ? 0 : getKfqq().hashCode());
        result = prime * result + ((getYm() == null) ? 0 : getYm().hashCode());
        result = prime * result + ((getGg() == null) ? 0 : getGg().hashCode());
        result = prime * result + ((getMusic() == null) ? 0 : getMusic().hashCode());
        result = prime * result + ((getUid() == null) ? 0 : getUid().hashCode());
        return result;
    }
}